package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.supermarket.domain.SellReport;

public class SellReportChild extends SellReport {

    /** 商品名 */
    @Excel(name = "商品名")
    protected String name;
    
    /** 用户名 */
    @Excel(name = "用户名")
    protected String userName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public SellReportChild() {
		super();
	}

	public SellReportChild(String name, String userName,SellReport sell) {
		super(sell);
		this.name = name;
		this.userName = userName;
	}
	@Override
	public String toString() {
		return "SellReportChild [name=" + name + ", userName=" + userName + ", sellId=" + sellId + ", vipId=" + vipId
				+ ", barCode=" + barCode + ", quantity=" + quantity + ", date=" + date + "]";
	}
    


}
